package com.hjl.sr.remoting;


public class HttpClientEncryptContext implements EncryptContext {

	private HttpClientBase httpClientBase;
	
	public HttpClientEncryptContext(HttpClientBase httpClientBase) {
		super();
		this.httpClientBase = httpClientBase;
	}

	public void addHeader(String name, String value) {
		httpClientBase.addRequestHeader(name, value);
	}

	public String getHeader(String name) {
		return httpClientBase.getRequestHeader(name);
	}

}
